package cn.yi.springboot.dubbo.service.impl;

import cn.yi.springboot.dubbo.facade.UserFacade;
import cn.yi.springboot.dubbo.service.UserService;
import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Service;

/**
 * @author: yiz
 * @date: 2018/8/1 17:08
 **/
@Service
public class UserServiceImpl implements UserService{
    @Reference
    private UserFacade userFacade;
    @Override
    public void sayHello() {
        userFacade.sayHello();
    }
}
